import { IsNumber } from "class-validator";
import { ApiProperty } from "@nestjs/swagger";

export class GetMenuIdByRoleIdDto {
    @ApiProperty({ description: "角色id", example: 1 })
    @IsNumber()
    roleId: number;
}